package com.owc.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author xiaom
 * @Date 2020/2/25 14:06
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("购买产品详情DTO")
public class ProductBuyDTO implements Serializable {

    @ApiModelProperty("单笔可购买额度")
    private BigDecimal buyQuota;

    @ApiModelProperty("可用余额")
    private BigDecimal balance;

    @ApiModelProperty("产品名称")
    private String name;

    /**
     * {@link com.owc.common.enums.CycleType}
     */
    @ApiModelProperty("投资期限类型 10(天) 20(年)")
    private Integer cycleType;

    @ApiModelProperty("投资期限")
    private Integer cycle;

    @ApiModelProperty("投资币种名称")
    private String tokenName;

    @ApiModelProperty("收益币种")
    private String incomeName;

}
